﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.VRTextureUsage
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

#nullable disable
namespace UnityEngine
{
  /// <summary>
  ///   <para>This enum describes how the RenderTexture is used as a VR eye texture. Instead of using the values of this enum manually, use the value returned by XR.XRSettings.eyeTextureDesc|eyeTextureDesc or other VR functions returning a RenderTextureDescriptor.</para>
  /// </summary>
  public enum VRTextureUsage
  {
    /// <summary>
    ///   <para>The RenderTexture is not a VR eye texture. No special rendering behavior will occur.</para>
    /// </summary>
    None,
    /// <summary>
    ///   <para>This texture corresponds to a single eye on a stereoscopic display.</para>
    /// </summary>
    OneEye,
    /// <summary>
    ///   <para>This texture corresponds to two eyes on a stereoscopic display. This will be taken into account when using Graphics.Blit and other rendering functions.</para>
    /// </summary>
    TwoEyes,
    /// <summary>
    ///   <para>The texture used by an external XR provider.  The provider is responsible for defining the texture's layout and use.</para>
    /// </summary>
    DeviceSpecific,
  }
}
